<?php
namespace app\common\controller;

/**
 * 前台公共基类
 * @package app\common\controller
 */
class IndexBase extends Base
{
    //初始化方法
    public function _initialize()
    {
        parent::_initialize();
        if (config('web.site_status')==0) {
            $this->redirect('index/common/close');
        }
    }
}
